import { createRouter, createWebHashHistory, createWebHistory, RouteRecordRaw } from "vue-router"
const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    redirect: "/home"
  },
  // {
  //
  //   path: "/homePage",
  //   component: () => import("@mars/pages/jcxm/HomePage/homePage.vue"),
  //   children: [
  //     {
  //       path: "",
  //       component: () => import("@mars/pages/jcxm/HomePage/mainMap.vue")
  //     },
  //     {
  //       path: "/historicalData",
  //       component: () => import("@mars/pages/jcxm/HomePage/historicalData.vue")
  //     },
  //     {
  //       path: "/warningInformation",
  //       component: () => import("@mars/pages/jcxm/HomePage/warningInformation.vue")
  //     },
  //     {
  //       path: "/reportManagement",
  //       component: () => import("@mars/pages/jcxm/HomePage/reportManagement.vue")
  //     },
  //     {
  //       path: "/IoTPlatform",
  //       component: () => import("@mars/pages/jcxm/HomePage/IoTPlatform.vue")
  //     },
  //     {
  //       path: "/projectManagement",
  //       component: () => import("@mars/pages/jcxm/HomePage/projectManagement.vue")
  //     },
  //   ]
  // },
  {
    path:"/home",
    component: () => import("@mars/pages/jcxm/HomePage/LargeScreen.vue")
  }
]


const router = createRouter({
  history: createWebHistory(),
  routes
})
export default router

